from typing import *


class OwnerType(TypedDict):
    DisplayName: str
    ID: str


class ContentType(TypedDict):
    ETag: str
    StorageClass: str
    Key: str
    Owner: OwnerType
    LastModified: str
    Size: str


class CommonPrefixesType(TypedDict):
    Prefix: str


class objectInfoModel(TypedDict):
    """cos对象信息模板"""

    MaxKeys: str
    Prefix: str
    Delimiter: str
    Marker: str
    NextMarker: str
    Name: str
    IsTruncated: bool
    EncodingType: str
    Contents: List[ContentType]
    CommonPrefixes: List[CommonPrefixesType]


class deleteRespModel(TypedDict):
    """删除响应模板"""

    x_cos_version_id: str
    x_cos_delete_marker: bool


class ObjectType(TypedDict):
    Key: str
    VersionId: str


class deleteObjectsRequModel(TypedDict):
    Object: List[ObjectType]
    Quiet: bool
